package com.example.cash.craft.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.cash.craft.pojo.entity.RewardPointsLog;
import com.example.cash.craft.pojo.vo.RewardPointsLogVO;

import java.util.List;

public interface RewardPointsLogMapper extends BaseMapper<RewardPointsLog> {

    int sumByUserId(Long userId);

    List<RewardPointsLogVO> listByUserId(Long userId);

}
